<?php
class Display extends Model {
	function Display() {
	}
	
	function mainpage($data) {
		$this->load->view("common/header");
		foreach($data as $page=>$d) {
			$this->load->view($page,$d);
		}
		$this->load->view("common/footer");
	}
}
?>